package study.eggs.validation.constraints;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Range {

    boolean required() default true;

    long max() default Long.MAX_VALUE;

    long min() default Long.MIN_VALUE;
}
